Explain the minimax algorithm in different terms.
Explain the minimax algorithm in different terms in AI.
25105-Apr-2024
Updated on 15-May-2024
Home / DeveloperSection / Forums / Explain the minimax algorithm in different terms in AI.
Explain the minimax algorithm in different terms.
Bhavesh Badani
15-May-2024Minimax Algorithm:
1. Game theory uses a decision-making process called minimax.
2. Assuming that the other player plays optimally as well, it aids in determining the best move for the player.
3. frequently employed in two-player turn-based games such as Backgammon, Chess, and Tic-Tac-Toe.
4. The maximizer and the minimizer are the two participants in Minimax.
5. While the minimizer seeks to obtain the lowest score, the maximizer seeks to obtain the best score.
States and Values of the Board:
Every board state has a corresponding value.
The score is often negative when the minimizer has the upper hand and positive when the maximizer is in the lead.
Heuristics unique to each game are used to compute these values.
Example: